﻿package com.jxl.dnd.classes
{
	class jxl.dnd.classes.Cleric extends CharacterClass
	{
		public var domainSpellsPerDay_array:Array;
		
		public function Cleric(intelligenceModifier:Number):void
		{
	
			className_str = "Cleric";
			level = 1;
			baseSaveLow = 0;
			baseSaveHigh = 2;
			baseAttackBonus_array = [0];
			
			xp = 0;
			classSkillMaxRanks = 4;
			crossClassSkillMaxRanks = 2;
			feats_array = [];
			abilityIncreases = {strength: 0,
								 dexterity: 0,
								 constitution: 0,
								 intelligence: 0,
								 wisdom: 0,
								 charisma: 0};
			
			description_str = "";
			
			abilities_array = ["Wisdom", "Constitution", "Charisma"];
			alignment_str = "Varies by deity";
			hitDie_str = "d8";
			fortSave = 2;
			refSave = 0;
			willSave = 2;
			special_array = ["Turn or rebuke undead"];
			spellsPerDay_array = [1];
			domainSpellsPerDay_array = [1];
			classSkillsStarting = 0;
			classSkillsPerLevel = 0;
			classSkills_array = ["Concentration (Con)",
								 "Craft (Int)", 
								 "Diplomacy (Cha)", 
								 "Heal (Wis)",
								 "Knowledge (arcana)(Int)", 
								 "Knowledge (religion)(Int)", 
								 "Profession (Wis)", 
								 "Scry (Int, exclusive skill)",
								 "Spellcraft (Int)"];
			armorProficiency_array = ["light armor", "medium armor", "heavy armor", "shields"];
			weaponProficiency_array = ["all simple weapons"];
			spells_array = [];
			uniqueAbilities_array = [{name: "Spells"},
									   {name: "Domain Spells"},
									   {name: "Spontaneous Casting"},
									   {name: "Alignment Spell Restrictions"},
									   {name: "Turn Undead"},
									   {name: "Bonus Languages"}];
		
			classSkillsStarting = ( 2 + intelligenceModifier) * 4;
			classSkillsPerLevel = 2 + intelligenceModifier;
		
		}
	}
}

